/*bootstrap jf 默认主题*/
.navbar-default{
    background-color: #336699;
}
.navbar-default .navbar-brand {
    /* color: #777; */
    color: #fff;
}
.navbar-default .navbar-brand:hover {
    color: #fff;
}

.navbar-default .navbar-brand:visited {
    color: #fff;
}
.navbar-default .navbar-brand:active {
    color: #fff;
}
.navbar-default .navbar-brand:link {
    color: #fff;
}

.navbar-default .navbar-nav>.active>a{
    background-color: #029acc;
}
.navbar-default .navbar-nav>.active>a:hover,
.navbar-default .navbar-nav>.active>a:link,
.navbar-default .navbar-nav>.active>a:visited,
.navbar-default .navbar-nav>.active>a:active{
    background-color: #029acc;
}
.navbar-default .navbar-nav>.active>a,
.navbar-default .navbar-nav>.active>a:hover,
.navbar-default .navbar-nav>.active>a:link,
.navbar-default .navbar-nav>.active>a:visited,
.navbar-default .navbar-nav>.active>a:active
{
    color: #fff;
}

.navbar-default .navbar-nav>li>a:hover
{
    background-color:  #029acc;
     color: #fff;
}
.navbar-default .navbar-nav>li>a:link,
.navbar-default .navbar-nav>li>a:visited,
.navbar-default .navbar-nav>li>a:active{
    color: #fff;

}
.navbar-default .navbar-toggle{
    background-color:#ddd;
}

.navbar-default .navbar-nav>li>a {
    color:#fff;
}

.list-group-item.active, .list-group-item.active:focus, .list-group-item.active:hover{
    background-color: #eff1ea;
    border-left-color:black;
    border-left-width:3px;
    border-top-width:0px;
    border-right-width:1px;
    border-bottom-width:0px;

}

.panel{
    box-shadow: 0 5px 10px 0 rgba(0,0,0,0.1);
    border-radius:0px;
    margin-bottom:0px;
    margin-top: 15px;
}



/*markdown editor 按钮样式*/
.md-editor>.md-header>.btn-group button:hover {
    background-color: #029acc;
}


/*jf 自定义 样式*/
html body{
    padding: 70px 0;
    background-color: #f3f5f7;
}

/*tag相关==begin*/
.jf-tag-box
{
    padding: 6px 12px;
}
.jf-tag{
    background-color: #336699;
    height: 25px;
    margin: 2px 3px;
    line-height: 25px;
    color: white;
    padding: 0px 5px;
    border-radius: 3px;
    display: inline-block;
}
.jf-tag-remove{
    color: black;
    margin-left:5px;
    background-color: #d9edf7;
    display:inline-block;
    line-height: inherit;
    top:0px;
    text-align: center;
    width: 25px;
    position: relative;
    left: 5px;
    /*height: inherit;*/
}
.jf-tag-remove:hover,
.jf-tag-remove:focus
{
    text-decoration: none;
    background-color: #fcf8e3;
    color: #a94442;
}

.jf-add-tag{

    /*background-color: #336699;*/
    height: 25px;
    margin: 2px 3px;
    line-height: 25px;
    /*color: white;*/
    padding-left: 5px;
    border-radius: 3px;
    display: inline-block;
    /*border: 1px dashed #ccc;*/
    color: #aaa;
    padding-right: 5px;
}

.jf-add-tag:hover,
.jf-add-tag:focus
{
    text-decoration: none;

}
.jf-input{
    border:gray 1px solid;
    line-height: 25px;
    margin-left: 5px;
}

/*tag相关==end*/

/*footer相关*/
footer {
    width: 100%;
    padding: 30px 0 15px 0;
    background: #029acc;
    /*background: #336699;*/
    color: #FFF;
    position: absolute;
    left: 0;
    bottom: 0;
    vertical-align: baseline;
}

html{
    min-height: 100%;
    height: auto;
    position: relative;
    background-color: #FFF;
}

/*文章列表相关 jf-art-item-**/
.jf-art-item-header{
    width: 60px;
    text-align: center
}
.jf-art-item-top-bar{
    background-color:#336699;
    color: white;
}
.jf-art-item-glance-bar{

}

.jf-art-item-title{

    color: #063642;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    text-decoration: none;
    font-size: 18px;
}
.jf-art-item-title:hover{
    color: #029acc;
    text-decoration: none;
}
.jf-art-item-title:visited{
    /*color: #888;*/
    text-decoration: none;
}
.jf-art-item-title:focus{
    /*color: #888;*/
    text-decoration: none;
}

.jf-art-item-desc{
    text-indent: 1em;
    color: #888;
    height: 60px;
    margin-top: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.note-num{
    position: absolute;
    border: 1px solid red;
    padding: 1px 3px;
    background-color: #e56e24;
    top: 10px;
    right: 0px;
    z-index: 100;
}

.tab-active{
    border-bottom: 2px solid #336699;
    font-weight: bold;
}

.art-title{
    padding: 5px 15px;
    background-color: #e3eaf1;
    box-shadow: 0 5px 10px 0 rgba(0,0,0,0.1);
}

.jf-item-span{
    padding-right: 10px;
}
.jf-hr{
    float: left;
    width: 100%;
    border-bottom:#029acc solid 2px;
    font-size: 20px;
    /*padding:0 10px;*/
    margin-top: 20px
}

/* login and reg from */
.modal-form div{
    border: 1px solid gray;padding: 0px;margin-top: 20px;
}
.modal-form div label{
    height: 40px;line-height: 40px;margin: 0px;
}

.modal-form div label img{
    height: 30px;
}
.modal-form div input{
    height: 40px;line-height: 40px;margin: 0px;
    border: none;
}

.modal-form{
    width: 100%;
    padding: 10px 10px;
}
.modal-button{
    height: 40px;background-color: #029acc;color: white;
    border: none;margin-top: 20px;
}
.jf-yzm{
    height: 40px;margin-top: 20px;
}
.jf-login-tab{
    text-align: center;line-height: 50px;height: 50px;
}
.jf-login-tab-no-active{
    background-color: #029acc;color: white;
}
.jf-modal-content{
    width: 400px;
    max-width: 100%;
    padding: 0px;
    border-radius: 0px;
}

.jf-modal-op{
    width: 400px;max-width: 100%;margin-top: 30px;
}
.jf-modal-close{
    float: right;position:relative;left: 45px;
}
.jf-modal-close img{
    width: 30px;
}
.jf-user-info-line{
    border-bottom:1px gray solid;
    padding: 3px 5px;
}

.jf-cell{
    margin: 5px 0px ;
    padding: 3px 5px;
    background-color: #029acc;
    color: white;
}

.jf-album-cell{
    padding:30px 5px;
    text-align: center;
}

.jf-album-cell-img{
    width: 140px;height: 140px;max-width: 100%;max-height: 100%;
}

.jf-album-cell-title{
    margin: 5px 0px;width: 130px;height:40px;overflow: hidden; display: inline-block;
}

@media (min-width: 768px) {
    .jf-nav-right {
        float: right;
    }
}
@media (max-width: 768px){
    /*.col-xs-12 {*/
        /*padding-left: 0px;*/
        /*padding-right: 0px;*/
    /*}*/

    .jf-nav-right {
        float: left;
    }

    .navbar-default .navbar-nav .open .dropdown-menu>li>a {
        color: white;
    }
    .jf-modal-close{
        float: right;
        position: relative;
        left: 7px;
        top: -10px;
    }
}
